package cn.shengchao.examstar.rpc.distribute.dto;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 展示课程节点的代理情况
 */
public class CourseNodesDistributeTreeNodesVo implements Serializable {
    private Long id;
    //课程节点id
    private Long courseId;
    //课程节点
    private String name;
    //价格
    private BigDecimal price;
    //价格
    private BigDecimal discountPrice;
    //百分比
    private BigDecimal distributePercent;
    private Long parentId;
    //排序
    private Integer sort;
    private List<CourseNodesDistributeTreeNodesVo> children;
    private Long isLesson;
    private Integer asUserRelation;
    private Long distributeUserId;
    private Long authorUserId;
    private String authorNodeName;
    private String distributeNodeName;
    private String showNodeName;

    public Long getAuthorUserId() {
        return authorUserId;
    }

    public void setAuthorUserId(Long authorUserId) {
        this.authorUserId = authorUserId;
    }

    public String getAuthorNodeName() {
        return authorNodeName;
    }

    public void setAuthorNodeName(String authorNodeName) {
        this.authorNodeName = authorNodeName;
    }

    public String getDistributeNodeName() {
        return distributeNodeName;
    }

    public void setDistributeNodeName(String distributeNodeName) {
        this.distributeNodeName = distributeNodeName;
    }

    public String getShowNodeName() {
        return showNodeName;
    }

    public void setShowNodeName(String showNodeName) {
        this.showNodeName = showNodeName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getIsLesson() {
        return isLesson;
    }

    public void setIsLesson(Long isLesson) {
        this.isLesson = isLesson;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getDistributePercent() {
        return distributePercent;
    }

    public void setDistributePercent(BigDecimal distributePercent) {
        this.distributePercent = distributePercent;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<CourseNodesDistributeTreeNodesVo> getChildren() {
        return children;
    }

    public void setChildren(List<CourseNodesDistributeTreeNodesVo> children) {
        this.children = children;
    }

    public Integer getAsUserRelation() {
        return asUserRelation;
    }

    public void setAsUserRelation(Integer asUserRelation) {
        this.asUserRelation = asUserRelation;
    }

    public Long getDistributeUserId() {
        return distributeUserId;
    }

    public void setDistributeUserId(Long distributeUserId) {
        this.distributeUserId = distributeUserId;
    }
}
